Skip to main content
POST
/
metric
/
campaigns_attribute_daily
Get a campaign attribute daily metric
curl --request POST \
  --url https://your_a2_service/metric/campaigns_attribute_daily \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_datetime": "2023-11-07T05:31:56Z",
  "to_datetime": "2023-11-07T05:31:56Z"
}
'
[
  {
    "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "frequency": {},
    "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Query for campaign metric.

campaign_id
string<uuid>
required
from_datetime
string<date-time> | null
to_datetime
string<date-time> | null

Response

Successful Response

cid
string<uuid>
required

The campaign ID

frequency
Frequency · object
required

Number of attribute frequencies.

Example:
{ "age": { "10-20": 1, "20-30": 2 } }
tagid
string<uuid>
required

The placement ID

timestamp
string<date-time>
required

The hourly timestamp of the metric